''''''
"""
继承：灵活

继承的特性

"""


class Animal:
    def eat(self):
        print("吃东西")

    def run(self):
        print("奔跑")


class Dog(Animal):
    pass


class Cat(Animal):
    pass


a = Dog()
a.eat()
